﻿
@{    ViewBag.Title = AuditResources.UI.PageTitle;
    Layout = "~/Views/Shared/ExpertJudge/_ExpertJudgeLayout.cshtml";
    var classdatelist = (List<AuditWeb.Models.PWCountyClassDate>)ViewBag.ClassDateList;
}

<h2><text>学科组：</text>@ViewBag.SubjectName</h2>
<h3><text>评委姓名：</text>@ViewBag.ExpertJudgeName</h3>
<h3>参赛人数共 <strong>@ViewBag.ArchivesCount</strong> 人，我已评 <strong>@ViewBag.ScoreCount</strong> 人</h3>
<br />
<fieldset>
<legend>听课日程表</legend>
@{
    var grid = new WebGrid(source: ViewBag.ClassDateList, defaultSort: "ClassDate");
}
@grid.GetHtml(
    columns: grid.Columns(
            grid.Column("CountyName", AuditResources.Archive.CountyCode),
            grid.Column("ClassDate", AuditResources.Archive.ClassDate, format:@<text>@string.Format("{0:d}", item.ClassDate)</text>),
            grid.Column("CountyCode", string.Empty, format: @<text>@Html.ActionLink(AuditResources.UI.Details, "Archives", new { countycode = item.CountyCode }, new { @class = "button" })</text>)
        ))
</fieldset>
